home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / windows / boyer04.zip / BOYERLIB.MAK < prev    next >
Text File  |  1996-01-15  |  1KB  |  73 lines

  1. ##### Module Macro #####
  2. NAME    = boyer
  3. SRCS    = $(NAME).c
  4. OBJS    =
  5.  
  6. ##### C7 Macro #####
  7. C7    = 1
  8.  
  9. ##### Library Macros #####
  10. LIBS    = libw llibcew
  11. MOD     = -AL
  12.  
  13. ##### Include Macro #####
  14. INCLS   = $(NAME).h
  15.  
  16. ##### Resource Macro #####
  17. RCFILES =
  18.  
  19. ##### DEBUG Defined #####
  20. DEBUG    = 1
  21.  
  22. ##### Build Option Macros #####
  23. !if $(DEBUG)
  24. DDEF    = -DDEBUG
  25. CLOPT    = -Zid -Od
  26. MOPT    = -Zi
  27. LOPT    = /CO /LI /MAP
  28. !else
  29. DDEF    =
  30. CLOPT    = -Os
  31. LOPT    =
  32. !endif
  33.  
  34. ##### General Macros #####
  35. DEF    =
  36.  
  37. ##### Tool Macros #####
  38. ASM    = masm -Mx $(MOPT) $(DDEF) $(DEF)
  39. CC    = cl -nologo -c $(MOD) -G2sw -Zp -W3 $(CLOPT) $(DDEF) $(DEF)
  40. LINK    = link /NOD /NOE $(LOPT)
  41. LIB = lib $(NAME)
  42. RC    = rc $(DDEF) $(DEF)
  43. HC    = hc
  44.  
  45. ##### Inference Rules #####
  46. .c.obj:
  47.     $(CC) $*.c
  48.  
  49. .asm.obj:
  50.     $(ASM) $*.asm;
  51.  
  52. .rc.res:
  53.     $(RC) -r $*.rc
  54.  
  55. ##### Main (default) Target #####
  56. goal: clean $(NAME).lib
  57.  
  58. ##### Dependents For Goal and Command Lines #####
  59. $(NAME).lib: $(SRCS:.c=.obj)
  60.     $(LIB) $(SRCS:.c=.obj), boyer.lst
  61.  
  62. ##### Dependents #####
  63. $(SRCS:.c=.obj): $(INCLS)
  64.  
  65. ##### Clean Directory #####
  66. clean:
  67.     -del *.obj
  68.     -del *.map
  69.     -del *.pdb
  70.     -del *.sym
  71.     -del *.lib
  72.     -del *.lst
  73.